<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <link rel="icon" href="/favicon.ico" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>BootAdmin</title>
        <script>
            /**
             * 暗黑模式支持
             */
            ;(function () {
                const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
                const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
                if (setting === 'dark' || (prefersDark && setting !== 'light'))
                    document.documentElement.classList.toggle('dark', true)
            })()
        </script>
    </head>

    <body>
        <div id="app"></div>
        <!--指向 JavaScript 源码-->
        <script type="module" src="/src/main.ts"></script>
    </body>
</html>
